﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Jack.RedisLib
{
    public class RedisOptions
    {
        public string ConnectionString { get; set; }
        public string InstanceName { get; set; }
        public int Database { get; set; } = 0;
        public bool Debug { get; set; }

        internal static RedisOptions GetDefault()
        {
            RedisOptions redisOptions = new()
            {
                ConnectionString = "127.0.0.1:6379",
                Database = 0,
                Debug = false,
                InstanceName = string.Empty,
            };

            return redisOptions;
        }
    }
}
